package io.geekidea.boot.otherstores.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.geekidea.boot.common.BaseEntity;
import lombok.*;

import java.io.Serializable;

@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
@ToString
@TableName("tb_other_stores")
public class OtherStores extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    @TableField("name")
    private String name;
    @TableField("code")
    private String code;
    @TableField("snNumber")
    private String snNumber;
    @TableField("availableInventory")
    private Integer availableInventory;
    @TableField("areaId")
    private Integer areaId;
    @TableField("storesId")
    private Integer storesId;
    @TableField(exist = false)
    private String areaName;
    @TableField(exist = false)
    private String scoreName;


}
